import { Get, Post } from "@/api/request";
//获取部门名称列表
export function getDeptNameList() {
  return Get("/dept/nameList");
}
// 提交登录表单
export function postLoginFormData(params) {
  return Post("/user/login", params);
}
// 提交注册表单
export function postRegisterFormData(params) {
  return Post("/user/add", params);
}
//  提交找回密码表单
export function postfindpasswordFormData(params) {
  return Post("/user/submitPasswordResetRequest", params);
}
